/**
 * @description 登录接口设置
 */
import request from '@/plugins/axios'
class Login {
 fetchList(query) {
    return request({
      url: '/admin/tshowroom/page',
      method: 'get',
      params: query
    })
  }
  addObj(obj) {
    return request({
      url: '/admin/tshowroom',
      method: 'post',
      data: obj
    })
  }
  getObj(id) {
    return request({
      url: '/admin/tshowroom/' + id,
      method: 'get'
    })
  }
  
  delObj(id) {
    return request({
      url: '/admin/tshowroom/' + id,
      method: 'delete'
    })
  }
  putObj(obj) {
    return request({
      url: '/admin/tshowroom',
      method: 'put',
      data: obj
    })
  }
}
// 导出
export default new Login()